<!DOCTYPE html>
<html>
<head>
    <title></title>
</head>
<link href="__PUBLIC__/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="__PUBLIC__/bootstrap/css/button.css" rel="stylesheet">
<script src="__PUBLIC__/bootstrap/js/jquery-1.9.1.js"></script>
<script src="__PUBLIC__/bootstrap/js/bootstrap.js"></script>
<js file="__PUBLIC__/Js/ghulam.js"/>
<body>
<form action="{:U('Replay/replay')}" method="post">

        <table class="table table-striped table-hover">

            <tr>
                <td>问题内容</td>
                <td>答案内容</td>
                <td>回答者</td>
                <td>提问时间</td>
                <td>操作</td>
            </tr>
            <foreach name="replay_show" item="m">
                    <tr>
                        <td>{$m.ask_content|substr=0,50}....</td>
                        <td>{$m.mes_replay|substr=0,50}....</td>
                        <td>{$m.replayer_name}</td>
                        <td>

                            <span >{$m.replay_time}</span>
                        <td>

                            <a href="{:U('Replay/replay',array('id'=>$m['id']))}" class="btn button-royal btn-xs">查看</a>
                            <a href="{:U('Replay/replay',array('id'=>$m['id']))}" class="btn btn-default btn-xs">编辑</a>
                            <a onclick="return del()" href="{:U('Replay/delete',array('id'=>$m['id']))}" class="btn btn-danger btn-xs" >删除</a>


                        </td>
                    </tr>

            </foreach>
            <tr>            <td colspan="9" align="center">{$page}</td>
            </tr>
        </table>

</form>



</body>
</html>

